A Network Device Stores and Updates Statistics Counters. Using an Optimal Counter Management Algorithm Minimizes Required Sram Size and Ensures Correct Line-rate Operation for Many Counters
نویسندگان
چکیده
Packet switches (that is, IP routers and ATM and Ethernet switches) maintain statistics for performance monitoring, network management, security, network tracing, and traffic engineering. Counters usually collect such statistics as the number of arrivals of a specific packet type or they count a particular event, such as when the network drops a packet. A packet’s arrival can lead to the updating of several different statistics counters. The number of statistics counters in a network device and their rate of update are often limited by memory technology. On-chip registers or SRAM (onor off-chip) can hold a few counters. Often, a network device has to maintain many counters and therefore must store them in off-chip DRAM. But the large random access times of DRAMs make their use difficult when supporting high-bandwidth links. The time it takes to read, update, and write a single counter would be too long, and worse still, each arriving packet can trigger the update of multiple counters. To alleviate these problems, we use a wellknown architecture for storing and updating statistics counters. This approach maintains smaller-size counters in fast (potentially onchip) SRAM, while maintaining full-size counters in a large, slower DRAM. Our goal is to ensure that the system always correctly maintains counter values at line rate. An optimal counter management algorithm (CMA) minimizes the required SRAM size while ensuring correct line-rate operation for a large number of counters.
منابع مشابه
Analysis of a statistics counter architecture
Packet switches (e.g., IP routers, ATM switches and Ethernet switches) maintain statistics for a variety of reasons: performance monitoring, network management, security, network tracing, and traffic engineering. The statistics are usually collected by counters which might, for example, count the number of arrivals of a specific type of packet, or count particular events, such as when a packet ...
متن کاملAnalysis of a Statistics Counter Architectures
Abslrucr -Packet switches (e.g., I P routers, ATM switches and Ethernet switches) maintain statistics for a variety of reasons: performance monitoring, network management, security, network tracing, and traffic engineering. The statistics a re usually collected by colrnters which might, for example, count the number of arrivals of a specific type of packet, or count particular events, such as w...
متن کاملPrototyping Counter Braids on NetFPGA
We recently proposed Counter Braids, an SRAM-only counter architecture for high-speed per-flow counting. Accurate per-flow counting was deemed complex and expensive because of the need for large arrays of counters operating at very high link speed (e.g. 40 Gbps). A naive algorithm needs an infeasible amount of SRAM to store both the counters and a flow-to-counter association rule, so that arriv...
متن کاملICE Buckets: Improved Counter Estimation for Network Measurement
Measurement capabilities are essential for a variety of network applications, such as load balancing, routing, fairness and intrusion detection. These capabilities require large counter arrays in order to monitor the traffic of all network flows. While commodity SRAM memories are capable of operating at line speed, they are too small to accommodate large counter arrays. Previous works suggested...
متن کاملDetailed Network Measurements Using Sparse Graph Counters: The Theory
Measuring network flow sizes is important for tasks like accounting/billing, network forensics and security. Per-flow accounting is considered hard because it requires that many counters be updated at a very high speed; however, the large fast memories needed for storing the counters are prohibitively expensive. Therefore, current approaches aim to obtain approximate flow counts; that is, to de...
متن کامل